import {api} from "@/utils/request";



export const getPageBehaviorLogs = (page: number, limit : number, userName: string) => {
return api({

url: '/sys/sys-oper-log/getPageList/'+page+'/'+limit,
method: 'get',
params:{
    userName: userName
}
})
};
export const AddLogs=(data:any)=>{
    return api({
    url:'/sys/sys-oper-log/save',
    method:'post',
    data: data
    })
    }

export const UpdateLogs=(data:any)=>{
        return api({
        url:'/sys/sys-oper-log/update',
        method:'put',
        data: data
        })
        }
    
export const DeleteByIdLogs=(id:number)=>{
    return api({
    url:'/sys/sys-oper-log/deleteById/'+id,
            method:'delete',
          })
            }
    
    



